# -*- coding: utf-8 -*-
from __future__ import print_function
import redis 
import ddl_platform.common.settings as settings


main_database = redis.StrictRedis(host=settings.REDIS_HOST, port=settings.REDIS_PORT, db=settings.REDIS_DB_INDEX)


class BaseTable(object):
    def __init__(self, host, port):
        pass

    def write(self):
        pass

    def read(self):
        pass

    def delete(self):
        pass


